package com.cd.system.jpa.entityImport;

import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;

/**
* @description 已触发的触发器表 ||  || 
* @author admin
* @date 2024-03-25
*/
@Entity
@Data
@Table(name = "qrtz_fired_triggers")
public class QrtzFiredTriggers implements Serializable {

    private static final long serialVersionUID = 1L;

    @EmbeddedId
    private QrtzFiredTriggersKey id;

    //@Comment("qrtz_triggers表trigger_name的外键")
    @Column(name = "trigger_name", nullable = false )
    private String triggerName;

    //@Comment("qrtz_triggers表trigger_group的外键")
    @Column(name = "trigger_group", nullable = false )
    private String triggerGroup;

    //@Comment("调度器实例名")
    @Column(name = "instance_name", nullable = false )
    private String instanceName;

    //@Comment("触发的时间")
    @Column(name = "fired_time", nullable = false )
    private Long firedTime;

    //@Comment("定时器制定的时间")
    @Column(name = "sched_time", nullable = false )
    private Long schedTime;

    //@Comment("优先级")
    @Column(name = "priority", nullable = false )
    private Long priority;

    //@Comment("状态")
    @Column(name = "state", nullable = false )
    private String state;

    //@Comment("任务名称")
    @Column(name = "job_name" )
    private String jobName;

    //@Comment("任务组名")
    @Column(name = "job_group" )
    private String jobGroup;

    //@Comment("是否并发")
    @Column(name = "is_nonconcurrent" )
    private String isNonconcurrent;

    //@Comment("是否接受恢复执行")
    @Column(name = "requests_recovery" )
    private String requestsRecovery;

}

